#pragma once

#include "atlimage.h"
#include "BtnST.h"
#include <string>
using namespace std;

typedef struct _ItemInfo
{
    int item_id;
    string iCount;
    string iOriginPrice;
    string iSize;
    string iRealPrice;
    string iCut;
    string iStatus;
    string sItemName;
    string sDanwei;
    string sColor;
    string sWaiter;
    string sBuyTime;
    string sSerialNo;
    string sYear;
    string sSeason;
    string sVipId;
    _ItemInfo()
    {
        item_id = 0;
    }
}ItemInfo;

class CUtils
{
public:
    CUtils(void);
    ~CUtils(void);

    static bool LoadImageFromResource(IN CImage* pImage,
        IN UINT nResID, 
        IN LPCSTR lpTyp);

    static void SetBitmapById(CButtonST& btn, int hBit);
    

};

